TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += window.cpp \
    SDLTool.cpp \
    SDLWindow.cpp \
    Timer.cpp \
    SDLBase.cpp \
    SDLActor.cpp \
    SDLParticle.cpp

QMAKE_CFLAGS = -lm -lpthread `pkg-config --cflags cairo` `sdl2-config --cflags --libs` 
QMAKE_CFLAGS += -lSDL_image -std=c++0x -lSDL2_ttf
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS

LIBS += -lm -lpthread `pkg-config --cflags cairo` `sdl2-config --cflags --libs` 
LIBS += -lSDL2_image -std=c++0x -lSDL2_ttf